<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Axios</title>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
    <script>
        function f() {
            axios.get('www.baidu.com?key=xxx&key2=xxxx').then(function () {
                //response
            },function () {
                //error
	            }
            )
        }
        function f1() {
        	axios.post('www.baidu.com',{key:'11',me:'22'}).then(function () {
                //response
	        },function () {
                //error
	        })
        }
    </script>
</body>
</html>